<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="./Promise.js"></script>
    <script>
        // 1- 通过构造函数Promise生成的实例，称为Promise对象或称为Promise实例
        // 2- Promise对象拥有两个实例属性，状态以及值
        // 3- 初始的状态为pending,初始的值为undefined
        const p1 = new Promise(()=>{});
        console.log(p1);
    </script>
</body>
</html>